package com.emo.wowoblog.view;

import java.io.Serializable;

//博客视图类
public class ArticleView implements Serializable {

    private int aid; //博文编号
    private int uid; //用户编号
    private String username; //用户名
    private String cid; //板块编号
    private String catalogName; //板块名字
    private String qid; //问题类型编号
    private String qname; //问题类型名称
    private String title; //博客标题
    private String content; //正文
    private int browseNumber; //浏览数量
    private int replyNumber; //回复数量
    private String tags; //标签
    protected String createTime; //表示该记录的创建时间

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getCatalogName() {
        return catalogName;
    }

    public void setCatalogName(String catalogName) {
        this.catalogName = catalogName;
    }

    public String getQid() {
        return qid;
    }

    public void setQid(String qid) {
        this.qid = qid;
    }

    public String getQname() {
        return qname;
    }

    public void setQname(String qname) {
        this.qname = qname;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getBrowseNumber() {
        return browseNumber;
    }

    public void setBrowseNumber(int browseNumber) {
        this.browseNumber = browseNumber;
    }

    public int getReplyNumber() {
        return replyNumber;
    }

    public void setReplyNumber(int replyNumber) {
        this.replyNumber = replyNumber;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "ArticleView{" +
                "aid=" + aid +
                ", uid=" + uid +
                ", username='" + username + '\'' +
                ", cid='" + cid + '\'' +
                ", catalogName='" + catalogName + '\'' +
                ", qid='" + qid + '\'' +
                ", qname='" + qname + '\'' +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", browseNumber=" + browseNumber +
                ", replyNumber=" + replyNumber +
                ", tags='" + tags +
                '}';
    }
}
